<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<body>
<%		String menuid = request.getParameter("menuid"); %>
<script type="text/javascript">  
Ext.onReady(function(){
	if(Ext.ComponentMgr.isRegistered('treegrid')){											   
			evalArrayJS([basepath+"permissions/js/func.js",
			             basepath+"../sysControl/dic/DicManagerController/pageForm.do?tablename=sys_func"],
	         	{menuid:'<%=menuid%>'});
	}else{
			evalArrayJS([basepath+"ext/ux/treegrid/TreeGridLoader.js",
			 			 basepath+"ext/ux/treegrid/TreeGridColumns.js",
			             basepath+"ext/ux/treegrid/TreeGridColumnResizer.js",
			             basepath+"ext/ux/treegrid/TreeGridNodeUI.js",
			             basepath+"ext/ux/treegrid/TreeGridSorter.js",
			             basepath+"ext/ux/treegrid/TreeGrid.js",
			 			 basepath+"permissions/js/func.js",
			 			 basepath+"../sysControl/dic/DicManagerController/pageForm.do?tablename=sys_func"
			 			],
	         	{menuid:'<%=menuid%>'});
		}
});
</script>
 <div id="divLlist<%=menuid %>" style="heigth:100xp"></div>

</body>
